package com.leador.module;

import android.content.Context;

import com.leador.utils.Utils;

/**
 *
 */
public class AppInfo {
    public  static String key = "";
    public  static long serviceId = 0L;
    public  static String entityName = "";
    public   String code = "";
    public   String pcn = "";
    public   String md = "";
    public   String cpu = "";

    public static String deviceid = "";
    public static String teleDeviId = "";
    public static String simSerialNumber = "";


    public static byte heartbeat_period = 120;            //心跳时间
    public static byte packed_data_transmit_period = 30; //socket 上报时间
    public static byte packed_data_capacity = 96;             //包大小
    public static byte packed_data_need_response = 1;    //是否需要回应

    public AppInfo(Context context){
        //Huawei-PE-TL10(型号)
        md = Utils.getBrandModel();
        //armeabi-v7a
        cpu = Utils.getCpu();
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public long getServiceId() {
        return serviceId;
    }

    public void setServiceId(long serviceId) {
        this.serviceId = serviceId;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPcn() {
        return pcn;
    }

    public void setPcn(String pcn) {
        this.pcn = pcn;
    }

    public String getMd() {
        return md;
    }

    public void setMd(String md) {
        this.md = md;
    }

    public String getCpu() {
        return cpu;
    }

    public void setCpu(String cpu) {
        this.cpu = cpu;
    }
}
